package attributes;

import genetics.HaploidAttribute;

/**
 * 
 * @author Nicolas Winkler
 *
 */
public class Color extends HaploidAttribute {
	public static final String description = "Color";
	
	int color;
	
	public Color() {
		dominantRecessive = HaploidisizeType.DOMINANT;
	}

	@Override
	public String getDescription() {
		return description;
	}

	@Override
	public HaploidAttribute mitosis() {
		Color newColor = new Color();
		newColor.dominantRecessive = this.dominantRecessive;
		newColor.color = this.color;
		return newColor;
	}
	
	public HaploidAttribute intermediary(HaploidAttribute hb) {
		return hb;
		
	}
}
